//
//  MyMessageController.m
//  LianShangBao
//
//  Created by 主事丫环HU on 2020/9/7.
//  Copyright © 2020 主事丫环. All rights reserved.
//

#import "MyMessageController.h"
#import "TransactionNewsController.h"
#import "SystemNewsController.h"
@interface MyMessageController ()

@end

@implementation MyMessageController

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:NO animated:animated];
}
- (void)viewWillDisappear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:YES animated:animated];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"消息";
    [self.leftbutton setImage:imgname(@"lefticon") forState:(UIControlStateNormal)];
    self.view.backgroundColor = [UIColor colorWithHexString:@"#F5F5F5"];
    
}
// 系统信息
- (IBAction)systemButtonClick:(UIButton *)sender {
    SystemNewsController * vc = [[SystemNewsController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}
// 交易信息
- (IBAction)transactionButtonClick:(UIButton *)sender {
    TransactionNewsController * vc = [[TransactionNewsController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}



@end
